<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>
			{{$goodsdata[0]['gname']}}
		</title>
		<meta name="keywords" content="点沸数码魅族 魅蓝Note 2（双4G）,点沸数码魅族 魅蓝Note 2（双4G）优惠价格，点沸数码魅族 魅蓝Note 2（双4G）最新价格" />
		<meta name="description" content="点沸数码为推荐魅族 魅蓝Note 2（双4G）手机经销商，是高信誉度的魅族 魅蓝Note 2（双4G）手机经销商,提供魅族 魅蓝Note 2（双4G）手机正品行货，全国价格最低，物美价廉，诚信服务,欢迎选购" />
		<link href="./Public/other/css/list.css" rel="stylesheet" type="text/css">
		<link href="./Public/other/css/public-topbar.css" rel="stylesheet" />
		<link href="./Public/other/css/detail_v1.css" rel="stylesheet" />
		<link href="./Public/other/css/feedBack.css" rel="stylesheet" type="text/css" />
		<link href="./Public/other/css/MagicZoom.css" rel="stylesheet" type="text/css" />
		<script src="./Public/other/js/mz-packed.js"></script>
		<link href="./Public/other/css/side_toolbar.css" rel="stylesheet" type="text/css">
		<link href="./Public/other/css/shopLoginBox.css" rel="stylesheet"/>
		<script src="./Public/other/js/shopLoginLayer.js"></script>
		<script src="./Public/other/js/jquery-1.8.1.js"></script>
		<script type="text/javascript" src="./Public/js/js.js"></script>
	</head>
	<body>
		{{include file="VIEW_PATH/Common/top.php"}}
		{{include file="VIEW_PATH/Common/header.php"}}
		<div class="zs-wrapper">
			<div class="zs-bread-crumbs">
				<a href="{{U('Index/index')}}">
					首页
				</a>&gt;
				<a href="{{U('Lists/index',array('cid'=>$goodsdata[0]['cid']))}}">
					{{$goodsdata[0]['cname']}}
				</a>&gt;
				<span>{{$goodsdata[0]['bname']}}</span>
			</div>
			<div class="zs-inner clearfix">
				<?php $gpic = explode(',',$goodsdata[0]['gdpic']); ?>
				<div class="zs-deal-detail">
					<!-- 焦点图 -->
					<div class="zs-focus">
						<div class="zs-big-pic" id="zs-big-pic" rel='gal1'>
							<a href="#">
								<img width="400" height="400" src="{{$gpic[0]}}">
							</a>
						</div>
						<div id="zoom1-big">
							<!--<a href="" id="zoom1" rel="drag-mode: false; always-show-zoom: flase; zoom-position: custom;zoom-width:400px; zoom-height:400px;" class="MagicZoom" style="cursor: crosshair"><img width="400" height="400" src="{{$gpic[0]}}"/></a>-->
						</div>
						<div class="zs-focus-thumb">
							<div class="zs-focus-list" id="zs-focus-list">
								<ul>
									{{foreach from="$gpic" key="$k" value="$v"}}
									<li id="1" style="cursor:pointer;" class="">
										<a href="javascript:void(0)" >
											<img  style="width:70px;height:70px;padding:0px;" src="{{$v}}" >
										</a>
										<i class="border" style="width:-4px;">
										</i>
									</li>
									{{endforeach}}
								</ul>
							</div>
						</div>
						<script>$(function() {
	// 动态的显示和隐藏现实框
	$("#zs-big-pic").mouseover(function() {
		$("#zoom1-big").show();
	}).mouseout(function() {
		$("#zoom1-big").hide();
	});
	//切换图片
	function zoom1(smallImg, bigImg) {
		MagicZoom_stopZooms();
		_el('zs-big-pic').innerHTML = '<a href="' + bigImg + '" id="zoom1" rel="drag-mode: false; always-show-zoom: flase; zoom-position: custom;zoom-width:400px; zoom-height:400px;" class="MagicZoom" style="cursor: crosshair"><img width="400" height="400" src="' + smallImg + '"/></a>';
		setTimeout('MagicZoom_findZooms()', 100);
	}
	var bigImgA = $("#zoom1");
	var bigImgObj = $("#bigImgZoom");
	var bigImgDivObj = $("#zs-big-pic");
	//鼠标轮换
	setTimeout(function() {
		$("#zoomPreload").css('display', 'none');
	}, 100);
	$(".zs-focus-list li").click(function() {
		$("#zoomPreload").css('display', 'block');
		var imgSrc = $(this).find("img").attr('src');
		imgSrc = imgSrc.replace(/70x[0-9]{2,}/g, "400x400");
		var bigImgZoom = imgSrc.replace(/400x400/g, "800x800");
		zoom1(imgSrc, bigImgZoom);
		$(this).siblings().removeClass('hover').find('i').removeClass('border');
		$(this).addClass('hover').find('i').addClass('border');
		setTimeout(function() {
			$("#zoomPreload").css('display', 'none');
		}, 500);
	});
})</script>
						<!-- //焦点图 -->
					</div>
					<div class="zs-deal-wrap">
						<!-- 商品标题 -->
						<h3 class="zs-commodity-title">
							{{$goodsdata[0]['gname']}}
						</h3>
						<!-- //商品标题 -->
						<!-- 价格 -->
						<div class="zs-price-panel">
							<!--满赠满减end-->
							<dl class="zs-sale-price">
								<dt>
									价格：
								</dt>
								<dd>
									<span class="zs-price">&yen;<em id="zp-goods-price">{{round($goodsdata[0]['gshopprice'],2);}}-{{$goodsdata[0]['gshopprice']+$maxadd}}</em></span>
									<span >&nbsp;&nbsp;市场价&yen;{{$goodsdata[0]['gmarketprice']}}</span>
								</dd>
							</dl>
							<!--满赠满减-->
						</div>
						<!-- //价格 -->
						<!-- 交易区块 -->
						<div class="zs-detail-infor">
							<ul class="zs-ind-panel clearfix" >
								<li>
									<a href="javascript:void(0);" id='userReview' style="cursor: pointer">
										购买评价<span>297</span>
									</a>
								</li>
								<li>
									<a href="javascript:void(0);" id="orderRecord" style="cursor: pointer">
										成交记录<span>2034</span>
									</a>
								</li>
							</ul>
							<dl class="zs-freight-a">
								<dt>
									配&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送：
								</dt>
								<dd class="clearfix">
									<div class="zs-freight-area">
										<div class="area-selected-wrap clearfix">
											<div class="area-selected">
												<!-- 点击之后添加 area-selected-cur 样式 -->
												<span class="area-name">
													北京
												</span>
												<div class="selecet-layer-wrap">
													<a class="close">
													</a>
													<ul class="selecet-tab clearfix">
														<li class="current" rel="province">
															<span>北京</span>
														</li>
													</ul>
													<div class="area-list-wrap">
														
														<div class="area-list clearfix city" style="display:none;">
														</div>
													</div>
												</div>
											</div>
											<!-- 顺丰包邮 -->
											<div class="area-selected-infor" style="display: block;">
												可送达，<strong class="bold">顺丰包邮</strong>
											</div>
											<!-- 更多推荐，去看看 -->
											<div class="area-selected-infor" style="display: none;">
												该地区暂不能送达
											</div>
										</div>
									</div>
								</dd>
							</dl>
							<dl class="zs-freight" style="z-index:1;display:none;">
								<dt>
									服务保障：
								</dt>
								<dd class="clearfix">
									<a href="#" target="_blank">
										<img src="./Public/other/image/1.png" align="absmiddle" title="ZOL用户保障服务:7天退换货" border="0">
									</a>&nbsp;&nbsp;支持七天无理由退换货
								</dd>
							</dl>
							<dl class="zs-freight" style="z-index:1;">
								<dt>
									售&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;后：
								</dt>
								<dd class="clearfix">
									由<span style="color:#ff0000;">
										<a href="#" target="_blank" class="link" id="zs_shop_url">
											点沸数码
										</a></span>发货并负责售后服务
								</dd>
							</dl>
							<div class="zs-skin-inner">
								<div class="zs-hd">
									选择您要的商品信息
									<i class="zs-close">
									</i>
								</div>
								
								<script type="text/javascript">
								$(function(){
									//规格Ajax 
									$('.zs-cho .zs-options li').live('click',function(){
										var m = $(this).parents('.zs-cho').index('.zs-cho');
										//样式改变
										$('.zs-cho').eq(m).find('.cur').removeClass('cur');
										$(this).addClass('cur');
//										ajax
										var c='';
										var a='';
										var g={{$goodsdata[0]['gid']}};
										$.each($('.zs-cho .zs-options .cur'),function(k,v){
											c += $(this).attr('title') + ',';
//											提取价格
											a += $(this).attr('add') + ',';
										})
										$.ajax({
										type:"post",
										url:"{{U('cho')}}",
										data:{
											a:a,
											c:c,
											g:g,
											},
										dataType:'json',
										success:function (phpData) {
												//价格相加 
												var one = {{$goodsdata[0]['gshopprice']}};
												add = parseFloat(phpData['add']);
												one = parseFloat(one);
												var two = add+one;
												$('#zp-goods-price').html(two);
												//库存变化
												$('#kc').html(phpData['glinv']);
												//给隐藏域一个库存 用来限制最大库存
												$('#zp-choose-goods-number').val(phpData['glinv']);
												if(phpData['glinv']==0){
													$('.zs-deal-btn').html('<a style="cursor:not-allowed;" title="立即购买" class="zs-buy-off" id="buynow">立即购买</a>');
												}else{
													$('.zs-deal-btn').html('<a style="cursor:pointer;" title="立即购买" class="zs-buy-now" >立即购买</a><a href="javascript:void(0)" class="zs-store-buy"  title="加入购物车">加入购物车</a>');
												}
												
											}
										});
									})
								})
								</script>
								<!--为了给Ajax购物车传递taname 在options里显示颜色之类的属性-->
								<?php  $ttaname = array() ?>
								{{foreach from="$goodsattr" key="$k" value="$v"}}
								{{if value="$v['taclass']!=0"}}
								<dl class="zs-cho">
									<dt>
										{{$v['taname']}}：
										<!--为了给Ajax购物车传递taname 在options里显示颜色之类的属性-->
										<?php  $ttaname[] = $v['taname']; ?>
										<input type="hidden" name="ttaname[]" value="{{$v['taname']}}">
									</dt>
									<dd>
										<ul class="zs-options clearfix" id="zp-choose-color">
											{{foreach from="explode(',',$v['gavalue'])" key="$k1" value="$v1"}}
											<?php $add = explode(',',$v['gaadd']) ?>
											<!--默认选中 判断是否是第一个 -->
											<li class="{{if value="$k1==0"}}cur{{endif}}"  title="{{$v1}}" add="{{$add[$k1]}}">
												<span class="can-buy">{{$v1}}<i></i></span>
											</li>
											{{endforeach}}
										</ul>
									</dd>
								</dl>
								{{endif}}
								{{endforeach}}
									</dd>
								</dl>
								<!--为了给Ajax购物车传递taname 在options里显示颜色之类的属性-->
								<?php  $ttaname = implode(",",$ttaname); ?>
								<script type="text/javascript">
									$(function(){
										//添加到购物车Ajax 
										$('.zs-store-buy').live('click',function() {
											//分配数据
											//规格价格gid
											var c='';
											var a='';
											var g={{$goodsdata[0]['gid']}};
											$.each($('.zs-cho .zs-options .cur'),function(k,v){
												c += $(this).attr('title') + ',';
	//											提取价格
												a += $(this).attr('add') + ',';
											})
											//商品名称
											var nu=$("[name=zp-goods-number]").val();
											var ta='';
											var li=$('#kc').html();
											ta = '{{$ttaname}}';
											$.ajax({
												type:"post",
												url:"{{U('incart')}}",
												data:{
													a:a,
													c:c,
													g:g,
													nu:nu,
													ta:ta,
													li:li,
													},
												dataType:'json',
												success:function (phpData){
													switch (phpData.re){
														case '1' :
															//改变购物车页面
															$('#zs-shop-cart-box').css('display','block').find('#zs-cart-number').html(phpData.num);
															
															$('#zs-shop-cart-box').find('#zs-total-price').html(phpData.pri);
														break;
														case '0' :
															alert('数据错误，请重新选择!');
														break;
														case '3' :
															alert('请填写正确购买数量!');
														break;
													}
													
												}
											})
										})
									})
								</script>
								<!-- 套装end -->
								<form action="" method="post" name="confirmOrderSubmit" id="confirmOrderSubmit">
									<input type="hidden" name="zp-choose-goods-number" value="{{$goodsdata[0]['gcount']}}" id="zp-choose-goods-number">
									<!--<input type="hidden" name="buyType" value="1" />
									<input type="hidden" name="goodsId" value="25241783">
									<input type="hidden" name="merchantId" value="188530">
									<input type="hidden" name="fromMerchantId" value="188530">
									<input type="hidden" name="promoId" value="0">
									<input type="hidden" name="cartFrom" value="1">
									<input type="hidden" name="shareId" value="0" />
								
									<input type="hidden" name="zp-choose-goods-price" value="828.00" id="zp-choose-goods-price">
									<input type="hidden" name="zp-is-suit" value="1" id="zp-is-suit">
									<input type="hidden" name="zp-choose-suit-color-id" value="11-9130-0" id="zp-choose-suit-color-id">
									<input type="hidden" name="zp-choose-suit-set-id" value="1" id="zp-choose-suit-set-id">
									<input type="hidden" name="zp-choose-suit-id" value="3976573" id="zp-choose-suit-id">
									<input type="hidden" name="zp-full-edit-time" value="">
									<input type="hidden" name="isContract" value="">
									<input type="hidden" name="contractTypeId" value="0">
									<input type="hidden" name="contractClassId" value="0">
									<input type="hidden" name="contractItemId" value="0">
									<input type="hidden" name="phoneNumberPrice" value="0">
									<input type="hidden" name="contractPhoneprice" value="0">
									<input type="hidden" name="contractPhoneId" value="0">
									<input type="hidden" name="contractClassName" value="">
									<input type="hidden" name="contractItemPrice" value="0">
									<input type="hidden" name="viewTime" value="1452084248">-->
									<!--提交订单的时间-->
									<!-- 购买数量 -->
									<dl class="zs-quantity">
										<dt>
											购买数量：
										</dt>
										<dd class="clearfix">
											<div class="amount-widget">
												<span class="zs-decrease zs-no-decrease">
												</span>
												<input name="zp-goods-number" type="text" title="请输入购买量" value="1" class="zs-goods-number" id="zp-goods-number" fn="zp-goods-number">
												<span class="zs-increase ">
												</span>
											</div>
											<span class="zs-part">{{$goodsdata[0]['gunit']}}<em class="zs-goods-number-show">（库存<span id='kc'>{{$goodsdata[0]['gcount']}}</span>{{$goodsdata[0]['gunit']}}）</em></span>
											<span class="zs-goods-number-tips" id="zs-goods-number-tips" style="display:block;">
											</span>
										</dd>
									</dl>
									<!-- 购买数量end -->
									<!-- 立即购买 -->
									<div class="zs-deal-btn clearfix">
										<a style="cursor:pointer;" title="立即购买" class="zs-buy-now" >立即购买</a><a href="javascript:void(0)" class="zs-store-buy"  title="加入购物车">加入购物车</a>
									</div>
									<!-- 立即购买end -->
								</form>
							</div>
							<dl class="zc-service-bar">
								<dt>
									服务保障：
								</dt>
								<dd>
									<ul class="clearfix">
										<li>
											<a href="#" target="_blank">
												<i class="iconfont">&#xe609;</i>行货保证
											</a>
										</li>
										<li>
											<a href="#">
												<i class="iconfont">&#xe60b;</i>发票保障
											</a>
										</li>
										<li>
											<a href="#" target="_blank">
												<i class="iconfont">&#xe60e;</i>48小时发货
											</a>
										</li>
										<li>
											<a href="#" target="_blank">
												<i class="iconfont">&#xe60e;</i>顺丰包邮
											</a>
										</li>
										<li>
											<a href="#" target="_blank">
												<i class="iconfont">&#xe60d;</i>无忧退换
											</a>
										</li>
										<li>
											<a href="#" target="_blank">
												<i class="iconfont">&#xe60a;</i>先行赔付
											</a>
										</li>
									</ul>
								</dd>
							</dl>
						</div>
						<!-- //交易区块 -->
					</div>
				</div>
				<div class="zs-store-infor">
					<!-- 酷开商家特殊处理 -->
					<div class="zs-store-name">
						<h3>
							<a href="#" target="_blank">
								点沸数码
							</a>
						</h3>
					</div>
					<div class="zs-modbox">
						<ul class="zs-contact-way">
							<li>
								<span class="zs-label">客服电话：</span>
								<p>
									0553-3887926
								</p>
							</li>
						</ul>
					</div>
					<div class="zs-modbox">
						<ul class="zs-contact-way">
							<li>
								<span class="zs-label">接待时间：</span>
								<p>
									9:00-22:30
								</p>
							</li>
						</ul>
					</div>
					<div class="zs-modbox">
						<ul class="zs-contact-way">
							<li>
								<span class="zs-label">店铺30天退款率：</span>
								<p style="margin-left: 40px;">
									4.95%
								</p>
							</li>
						</ul>
					</div>
					<div class="zs-modbox">
						<div class="zs-modbox-hd">
							店铺动态评分：
						</div>
						<ul class="zs-store-score">
							<li>
								描述:<em class="below">4.9</em><span class="below">低于</span>同行
								2.50%
							</li>
							<li>
								服务:<em class="below">4.9</em><span class="below">低于</span>同行
								2.50%
							</li>
							<li>
								物流:<em class="flat">4.9</em><span class="flat">持平</span>同行
								0.00%
							</li>
						</ul>
					</div>
					<div class="zs-collect-box">
						<a href="#" target="_blank" class="zs-btn">
							进入店铺
						</a>
						<a href="javascript:void(0)" class="zs-btn" onClick="$.saveMerchantFllow({merchantId: '188530'})">
							关注店铺
						</a>
					</div>
				</div>
			</div>
			<div class="zs-modbox">
				<div class="zs-modbox-hd">
					店铺热卖
				</div>
				<ul class="zs-product-list clearfix">
					<li>
						<a href="#" target="_blank">
							<span class="zs-pic">
								<img src="./Public/other/image/ChMkJlZ9EZyId0BLAACaeK8G9R8AAGlXQJIsrsAAJqQ296.jpg" alt="【32G版新鲜上市2799元】华为 Mate S（臻享版/CRR-UL00/双4G）">
							</span>
							<span class="zs-title">【32G版新鲜上市2799元】华为 Mate S（臻享版/CRR-UL00/双4G）</span>
						</a>
						<div class="zs-price">
							&yen;<span>2799.00</span>
						</div>
					</li>
					<li>
						<a href="#" target="_blank">
							<span class="zs-pic">
								<img src="./Public/other/image/ChMkJ1ZqcvmIX7qFAAPbXVKMSegAAGBuAOYBygAA9t1748.jpg" alt="【买即送保护壳】华为 畅享5S（TAG-AL00/全网通）轻薄金属机身新一代指纹识别8核64位处理器畅享青春放手玩">
							</span>
							<span class="zs-title">【买即送保护壳】华为 畅享5S（TAG-AL00/全网通）轻薄金属机身新一代指纹识别8核64位处理器畅享青春放手玩</span>
						</a>
						<div class="zs-price">
							&yen;<span>1099.00</span>
						</div>
					</li>
					<li>
						<a href="#" target="_blank">
							<span class="zs-pic">
								<img src="./Public/other/image/ChMkJ1ZAQt-Iee3dAABmfeo4tOYAAErtACLx9EAAGaV676.jpg" alt="【银色版到货 下单送保护壳】乐视 1S（双4G）金属一体化机身镜面指纹ram3GB+rom16/32GB">
							</span>
							<span class="zs-title">【银色版到货 下单送保护壳】乐视 1S（双4G）金属一体化机身镜面指纹ram3GB+rom16/32GB</span>
						</a>
						<div class="zs-price">
							&yen;<span>978.00</span>
						</div>
					</li>
					<li>
						<a href="#" target="_blank">
							<span class="zs-pic">
								<img src="./Public/other/image/ChMkJlYsWlGIZz_vAABdNbIwyoEAAEEgAK25jgAAF1N392.jpg" alt="【四色现货】魅族 魅蓝metal（双4G）魅族大皇子 多彩金属潮流">
							</span>
							<span class="zs-title">【四色现货】魅族 魅蓝metal（双4G）魅族大皇子 多彩金属潮流</span>
						</a>
						<div class="zs-price">
							&yen;<span>1038.00</span>
						</div>
					</li>
					<li>
						<a href="#" target="_blank">
							<span class="zs-pic">
								<img src="./Public/other/image/ChMkJlY-vNeINevKAATkeQFpmUwAAEo2wIKGYoABOSR666.jpg" alt="【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0">
							</span>
							<span class="zs-title">【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0</span>
						</a>
						<div class="zs-price">
							&yen;<span>1538.00</span>
						</div>
					</li>
					<li>
						<a href="#" target="_blank">
							<span class="zs-pic">
								<img src="./Public/other/image/ChMkJ1YbJSuIcb0xAACPHpKNw_EAADk2gMQtREAAI82345.jpg" alt="【买即送保护壳】小米 4C（标准版/三网通）安卓小王子 高通 64 位骁龙 808 处理器功耗更低">
							</span>
							<span class="zs-title">【买即送保护壳】小米 4C（标准版/三网通）安卓小王子 高通 64 位骁龙 808 处理器功耗更低</span>
						</a>
						<div class="zs-price">
							&yen;<span>1158.00</span>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<!-- 店铺优惠 -->
		<div class="wrapper clearfix">
			<div class="zs-side" id="zs-side-left">
				<!--  搜索店内商品 -->
				<div class="zs-modbox" id="moveTop">
					<div class="zs-modbox-hd">
						搜索店内商品
					</div>
					<form action="" method="get">
						<input type="hidden" name="c" value="MerchantStore_ShopHotGoods">
						<div class="searchgoods">
							<dl>
								<dt>
									商品名：
								</dt>
								<dd>
									<input type="text" value="" class="text" maxlength="255" name="keyword">
								</dd>
							</dl>
							<dl class="searchprice">
								<dt>
									价&nbsp;&nbsp;格：
								</dt>
								<dd>
									<input type="text" class="text" name="minPrice" value="" maxlength="6">
									<span>到</span>
									<input type="text" class="text" maxlength="6" value="" name="maxPrice">
								</dd>
							</dl>
							<input type="submit" value="搜索" class="goodsbtn" id="leftSearchSubmit1" name="">
						</div>
					</form>
				</div>
				<!-- //搜索店内商品 -->
				<!-- 商品分类 -->
				<div class="zs-modbox">
					<h2 class="zs-modbox-hd">
						商品分类
					</h2>
					<div class="goods-category" id="goods-category-list">
						<dl class="all-goods">
							<dt id="zs-all-goods">
								<a href="#" target="_blank" class="manu-url" style="color:#333;text-decoration:none;cursor:pointer;">
									查看全部商品
								</a>
							</dt>
							<dd>
								<a target="_blank" href="#">
									按关注
								</a>
								<a target="_blank" href="#">
									按价格
								</a>
								<a target="_blank" href="#">
									按时间
								</a>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									手机
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											华为
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											小米
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											MEIZU（魅族）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											大神
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											nubia（努比亚）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											Samsung（三星）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											Apple（苹果）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											联想
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											ZTE（中兴）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											小辣椒
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											乐视
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											HTC
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											NOKIA（诺基亚）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											QiKU（奇酷）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											Smartisan（锤子科技）
										</a>
									</li>
								</ul>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									耳机
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											MEIZU（魅族）
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											华为
										</a>
									</li>
								</ul>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									智能手环
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											华为
										</a>
									</li>
								</ul>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									车载电源
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											安全快充
										</a>
									</li>
								</ul>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									移动电源(充电宝)
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											安全快充
										</a>
									</li>
								</ul>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									手机保护套
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											华为
										</a>
									</li>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											Samsung（三星）
										</a>
									</li>
								</ul>
							</dd>
						</dl>
						<dl class="unfold zp-goods-category">
							<dt>
								<h3>
									平板电脑
								</h3>
							</dt>
							<dd>
								<ul>
									<li >
										<a target="_blank" rel="nofollow" href="#">
											原道
										</a>
									</li>
								</ul>
							</dd>
						</dl>
					</div>
				</div>
				<!-- //商品分类 -->
				<!-- 看了又看-->
				<div class="zs-modbox" id="store-promo-goods">
					<div class="zs-modbox-hd">
						看了还看
					</div>
					<ul class="zs-sales-news" id="promo-goods-list">
						<li>
							<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
								<img border="0" src="./Public/other/image/Cg-4y1T5YeKIZQjSAAUQta4t3fkAAWLJAFtVWQABRDN699.jpg" alt="三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1378</em></span>
							</div>
							<span class="title">
								<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
									三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩
								</a></span>
						</li>
						<li>
							<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
								<img border="0" src="./Public/other/image/Cg-4y1T5YeKIZQjSAAUQta4t3fkAAWLJAFtVWQABRDN699.jpg" alt="三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1378</em></span>
							</div>
							<span class="title">
								<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
									三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩
								</a></span>
						</li>
						<li>
							<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
								<img border="0" src="./Public/other/image/Cg-4y1T5YeKIZQjSAAUQta4t3fkAAWLJAFtVWQABRDN699.jpg" alt="三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1378</em></span>
							</div>
							<span class="title">
								<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
									三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩
								</a></span>
						</li>
						<li>
							<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
								<img border="0" src="./Public/other/image/Cg-4y1T5YeKIZQjSAAUQta4t3fkAAWLJAFtVWQABRDN699.jpg" alt="三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1378</em></span>
							</div>
							<span class="title">
								<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
									三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩
								</a></span>
						</li>
						<li>
							<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
								<img border="0" src="./Public/other/image/Cg-4y1T5YeKIZQjSAAUQta4t3fkAAWLJAFtVWQABRDN699.jpg" alt="三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1378</em></span>
							</div>
							<span class="title">
								<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
									三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩
								</a></span>
						</li>
						<li>
							<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
								<img border="0" src="./Public/other/image/Cg-4y1T5YeKIZQjSAAUQta4t3fkAAWLJAFtVWQABRDN699.jpg" alt="三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1378</em></span>
							</div>
							<span class="title">
								<a href="#" class="z_lookmore_class" goodsId="23629628" target="_blank">
									三星 GALAXY A5（A5000）【现货速发买即送透明壳+高清膜大礼包】4G手机 移动联通双4G公开版，金属机身，轻薄炫彩
								</a></span>
						</li>
					</ul>
				</div>
				<!-- 促销信息 -->
				<div class="zs-modbox" id="store-promo-goods">
					<h2 class="zs-modbox-hd">
						促销信息
					</h2>
					<ul class="zs-sales-news" id="promo-goods-list">
						<li>
							<a class="sc_left_cuxiao_class" href="#" goodsId="26069885" target="_blank">
								<img border="0" src="./Public/other/image/ChMkJlY-vNeINevKAATkeQFpmUwAAEo2wIKGYoABOSR666.jpg">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1538</em></span>
								<span class="zs-original-price">&yen;<em>1598.00</em></span>
							</div>
							<span class="title">
								<a href="#">
									【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0
								</a></span>
						</li>
						<li>
							<a class="sc_left_cuxiao_class" href="#" goodsId="26069885" target="_blank">
								<img border="0" src="./Public/other/image/ChMkJlY-vNeINevKAATkeQFpmUwAAEo2wIKGYoABOSR666.jpg">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1538</em></span>
								<span class="zs-original-price">&yen;<em>1598.00</em></span>
							</div>
							<span class="title">
								<a href="#">
									【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0
								</a></span>
						</li>
						<li>
							<a class="sc_left_cuxiao_class" href="#" goodsId="26069885" target="_blank">
								<img border="0" src="./Public/other/image/ChMkJlY-vNeINevKAATkeQFpmUwAAEo2wIKGYoABOSR666.jpg">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1538</em></span>
								<span class="zs-original-price">&yen;<em>1598.00</em></span>
							</div>
							<span class="title">
								<a href="#">
									【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0
								</a></span>
						</li>
						<li>
							<a class="sc_left_cuxiao_class" href="#" goodsId="26069885" target="_blank">
								<img border="0" src="./Public/other/image/ChMkJlY-vNeINevKAATkeQFpmUwAAEo2wIKGYoABOSR666.jpg">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1538</em></span>
								<span class="zs-original-price">&yen;<em>1598.00</em></span>
							</div>
							<span class="title">
								<a href="#">
									【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0
								</a></span>
						</li>
						<li>
							<a class="sc_left_cuxiao_class" href="#" goodsId="26069885" target="_blank">
								<img border="0" src="./Public/other/image/ChMkJlY-vNeINevKAATkeQFpmUwAAEo2wIKGYoABOSR666.jpg">
							</a>
							<div class="zs-price">
								<span class="zs-sale-price">&yen;<em>1538</em></span>
								<span class="zs-original-price">&yen;<em>1598.00</em></span>
							</div>
							<span class="title">
								<a href="#">
									【金色银色买即送弧面9H钢化膜】华为 荣耀畅玩5X（KIW-AL10/全网通）3GB ram+16GBrom 全金属机身 指纹识别2.0
								</a></span>
						</li>
					</ul>
				</div>
				<!-- //促销信息 -->
				<!-- 排行榜切换 -->
				<div class="zs-modbox" id="sell-hot-goods">
					<div class="zs-modbox-hd">
						宝贝排行榜
					</div>
					<ul class="side-tab clearfix zs-rankingtab ">
						<li class="current" fn="1">
							热销TOP5
						</li>
						<li class="" fn="2">
							人气TOP5
						</li>
					</ul>
					<ul class="ranking-list" id="sell-goods">
<li>
							<a href="#" target="_blank" class="pic" title="魅族 魅蓝Note 2（双4G）青">
								<img border="0" src="./Public/other/image/Cg-4WVWCK42IUG42AARcjDXxOEgAAFlAQF7akcABFyk252.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="魅族 魅蓝Note 2（双4G）青">
									魅族 魅蓝Note 2（双4G）青
								</a>
							</div>
							<span class="price">&yen;828</span>
							<span class="sale-number">已售出<em>6602</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="魅族 魅蓝Note 2（双4G）青">
								<img border="0" src="./Public/other/image/Cg-4WVWCK42IUG42AARcjDXxOEgAAFlAQF7akcABFyk252.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="魅族 魅蓝Note 2（双4G）青">
									魅族 魅蓝Note 2（双4G）青
								</a>
							</div>
							<span class="price">&yen;828</span>
							<span class="sale-number">已售出<em>6602</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="魅族 魅蓝Note 2（双4G）青">
								<img border="0" src="./Public/other/image/Cg-4WVWCK42IUG42AARcjDXxOEgAAFlAQF7akcABFyk252.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="魅族 魅蓝Note 2（双4G）青">
									魅族 魅蓝Note 2（双4G）青
								</a>
							</div>
							<span class="price">&yen;828</span>
							<span class="sale-number">已售出<em>6602</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="魅族 魅蓝Note 2（双4G）青">
								<img border="0" src="./Public/other/image/Cg-4WVWCK42IUG42AARcjDXxOEgAAFlAQF7akcABFyk252.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="魅族 魅蓝Note 2（双4G）青">
									魅族 魅蓝Note 2（双4G）青
								</a>
							</div>
							<span class="price">&yen;828</span>
							<span class="sale-number">已售出<em>6602</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="魅族 魅蓝Note 2（双4G）青">
								<img border="0" src="./Public/other/image/Cg-4WVWCK42IUG42AARcjDXxOEgAAFlAQF7akcABFyk252.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="魅族 魅蓝Note 2（双4G）青">
									魅族 魅蓝Note 2（双4G）青
								</a>
							</div>
							<span class="price">&yen;828</span>
							<span class="sale-number">已售出<em>6602</em>笔</span>
						</li>
					</ul>
					<ul class="ranking-list" id="hot-goods"  style="display:none;">
						<li>
							<a href="#" target="_blank" class="pic" title="补差价专项链接  （单拍不">
								<img border="0" src="./Public/other/image/Cg-4V1TF4LaIcTvzAAEtcEyIJgYAAUMwwFYCBoAAS2I081.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="补差价专项链接  （单拍不">
									补差价专项链接  （单拍不
								</a>
							</div>
							<span class="price">&yen;15</span>
							<span class="sale-number">已售出<em>65815</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="补差价专项链接  （单拍不">
								<img border="0" src="./Public/other/image/Cg-4V1TF4LaIcTvzAAEtcEyIJgYAAUMwwFYCBoAAS2I081.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="补差价专项链接  （单拍不">
									补差价专项链接  （单拍不
								</a>
							</div>
							<span class="price">&yen;15</span>
							<span class="sale-number">已售出<em>65815</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="补差价专项链接  （单拍不">
								<img border="0" src="./Public/other/image/Cg-4V1TF4LaIcTvzAAEtcEyIJgYAAUMwwFYCBoAAS2I081.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="补差价专项链接  （单拍不">
									补差价专项链接  （单拍不
								</a>
							</div>
							<span class="price">&yen;15</span>
							<span class="sale-number">已售出<em>65815</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="补差价专项链接  （单拍不">
								<img border="0" src="./Public/other/image/Cg-4V1TF4LaIcTvzAAEtcEyIJgYAAUMwwFYCBoAAS2I081.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="补差价专项链接  （单拍不">
									补差价专项链接  （单拍不
								</a>
							</div>
							<span class="price">&yen;15</span>
							<span class="sale-number">已售出<em>65815</em>笔</span>
						</li>
						<li>
							<a href="#" target="_blank" class="pic" title="补差价专项链接  （单拍不">
								<img border="0" src="./Public/other/image/Cg-4V1TF4LaIcTvzAAEtcEyIJgYAAUMwwFYCBoAAS2I081.jpg">
							</a>
							<div class="title">
								<a target="_blank" href="#" title="补差价专项链接  （单拍不">
									补差价专项链接  （单拍不
								</a>
							</div>
							<span class="price">&yen;15</span>
							<span class="sale-number">已售出<em>65815</em>笔</span>
						</li>
					</ul>
				</div>
				<!-- //排行榜切换 -->
			</div>
			<!--TAB切换-->
			<div class="zs-main">
				<div class="zs-tabbar zs-tabbar-nav clearfix" id="zsTabbar">
					<ul class="clearfix" id="zp-tabbar">
						<li class="cur" rel="zs-tab-goods-content">
							<a href="javascript:void(0)">
								商品详情
							</a>
						</li>
						<li rel="zp-tab-goods-params">
							<a href="javascript:void(0)" rel="">
								参数
							</a>
						</li>
						<li rel="zp-tab-user-review">
							<a href="javascript:void(0)">
								购买评价<em id="zp-nav-order-review">297</em>
							</a>
						</li>
						<li rel="zp-tab-order-record">
							<a href="javascript:void(0)">
								成交记录<em id="zp-nav-order-record">2034</em>
							</a>
						</li>
						<li rel="zp-tab-goods-message">
							<a href="javascript:void(0)">
								留言
							</a>
						</li>
						<li rel="zs-service-guarantee" >
							<a href="javascript:void(0)"  >
								<span class="add-plus">
								</span>商城服务承诺
							</a>
						</li>
						<li rel="photoCode">
							<div class="phone-purchase">
								<a href="javascript:void(0)">
									手机购买
									<i class="ico">
									</i>
								</a>
								<div class="code" >

								</div>
							</div>
						</li>
						<li rel="zs-buynow" class="zs-buy-btn" style="">
							<span style="cursor:pointer;" id="nav-buynow" class="zs-btn">立即购买</span>
						</li>
					</ul>
					<script>$("#nav-buynow").click(function() {
	$("#buynow").click();
});
$('body').on('mouseenter', '.side-tab > li', function() {
	var rankingListSet = $('.ranking-list');
	var liIndex = $(this).index();
	var otherLi = $(this).siblings();
	otherLi.removeClass('current');
	$(this).addClass('current')
	rankingListSet.hide();
	rankingListSet.eq(liIndex).show();
});</script>
				</div>
				<div class="zs-container">
					<!-- 商品详情 -->
					<div class="zs-goods-detail" id="zp-goods-detail" style="overflow: hidden">
						<a href="#" target="_blank">
							<div class="sevice-banner">
								ZOL商城Z<span class="add-plus">+</span>升级服务 新服务 心开始 让您的网购体验 从此安全无忧
							</div>
						</a>
						<div class="sevice-title" id="pro-show">
							<span class="title">商品介绍</span><span class="english-title">Products</span>
						</div>
						<div class="service-content">
							<div class="zs-goods-content" id="zs-tab-goods-content">
								{{$goodsdata[0]['gdcontent']}}
							</div>
						</div>
						
						<div class="sevice-title" id="pro-hour">
							<span class="title">48小时发货</span><span class="english-title">48 Hours</span>
						</div>
						<div class="service-content">
							<p>
								购买带有"Z<span class="add-plus">+</span>"标识店铺的商品时，商家承诺您所下的订单，将在48小时内进行发货，让您能在短时间内收到商品。
							</p>
							<dl>
								<dt>
									1、赔付保障权益
								</dt>
								<dd>
									如您的收货地址在商家承诺的服务区域内，商家承诺在下单后的48小时内将商品发出，从您下单时间开始计算，如超时未发出，您可根据ZOL商城“先行赔付”进行维权、获得赔偿。
								</dd>
							</dl>
							<dl>
								<dt>
									2、如何跟踪配送信息
								</dt>
								<dd>
									配送信息可直接在您购买的商品订单中查看。或直接与卖家联系确认。您可以在商品详细页面查看入驻卖家联系信息，订单状态变为"已发货"后，点击查询"物流状态"即可查询到您所购买的商品的在途情况。或请您点击对应的物流承运商网站进行查询，快递单号可以登陆ZOL商城账号的订单管理中获取，建议发货后48小时后进行查询。查询方式如下：
									<br>
									顺丰快递：服务热线&nbsp;&nbsp;&nbsp;&nbsp;4008-111111&nbsp;&nbsp;&nbsp;&nbsp;快递单号由"10"或"01"开头的12位数字组成，例如：10******8888或01******9999。
								</dd>
							</dl>
						</div>
						<div class="sevice-title" id="pro-fapiao">
							<span class="title">发票保障</span><span class="english-title">Invoice</span>
						</div>
						<div class="service-content">
							<p>
								指买家在zol购买商品时，店铺内带有"Z<span class="add-plus">+</span>"标识的店铺内所购买商品均带有正规商品发票。且使用该服务不向买家收取任何其他费用。
							</p>
							<dl>
								<dt>
									1、赔付保障权益
								</dt>
								<dd>
									如商家未履行所承诺的发票保障服务，您可根据ZOL商城"先行赔付"进行维权、获得赔偿。
								</dd>
							</dl>
							<dl>
								<dt>
									2、发票的开具
								</dt>
								<dd>
									1. 开具发票的金额以实际支付的金额为准。
									<br>
									2. ZOL提供的发票种类有为"普通发票"。
								</dd>
							</dl>
							<dl>
								<dt>
									3、普通发票
								</dt>
								<dd>
									1. 个人及不具有一般纳税人资格的企业客户，均开具普通发票
									<br>
									2. 开具普通发票时，抬头默认为收货人"个人姓名"，请需要更改抬头的客户在修改信息中进行修改。
									<br>
									3. 普通发票信息与您输入的信息一致的情况下，发票一经开出，恕不退换。
								</dd>
							</dl>
							<dl>
								<dt>
									4、开发票的注意事项
								</dt>
								<dd>
									1.发票金额不能高于订单金额。
									<br>
									2.为了享受厂商提供的质保服务，请您将商品发票开具为明细。如果您购买的是数码类、手机及配件、笔记本、台式机、家电类商品，为了保证您能充分享受生产厂家提供的售后服务（售后服务需根据发票确认您的购买日期），发票内容默认为您订购的商品明细。
									<br>
									3.不同物流中心开具的发票无法合并。
									<br>
									4.使用优惠券、积分的金额不开具发票。
									<br>
									5.一个包裹对应一张发票或多张发票。
									<br>
									6、销售产品均可开具正规机打发票（普通增值税发票），无需加税点，但为了保证发票不遗漏和错开，请下订单时在补充说明（或者卖家留言），留言注明：需开发票抬头XXX公司或者XXX人名。如忘记注明，请及时联系客服帮助备注。
								</dd>
							</dl>
							<dl>
								<dt>
									5、发票的退换
								</dt>
								<dd>
									1.如果您收到的发票与您输入的开票信息、订单信息不一致，请先联系我们的客服人员，我们会以快的速度为你更换正确的发票。
									<br>
									2.未经易ZOL商城人员的允许，财务部门将不接受电话、传真、邮件、邮寄等形式的重开发票申请，如您擅自将发票寄到我公司的任一办公地址，在寄送过程中发生的发票遗失、缺失等情况，恕我们概不负责。
								</dd>
							</dl>
						</div>
						<div class="sevice-title" id="pro-wuliu">
							<span class="title">物流配送</span><span class="english-title">Logistics</span>
						</div>
						<div class="service-content">
							<p>
								当您购买ZOL带有"Z<span class="add-plus">+</span>"标识店铺，商家承诺全店商品满399元，如收货地址在顺丰速运(即顺丰速运（集团）有限公司及其子公司)所覆盖的派送区域内，均采用顺丰速运为消费者提供免费物流配送服务；如收货地址不在顺丰速运派送范围内时，商家需使用其它可送达快递为消费者提供免费物流配送服务。如在商家店铺未购买达到399元，除商家优惠外，物流费用由买家自己承担。
							</p>
							<dl>
								<dt>
									1、赔付保障权益
								</dt>
								<dd>
									如商家向您收取物流费用，您可根据ZOL商城"先行赔付"进行维权、获得赔偿。
								</dd>
							</dl>
							<dl>
								<dt>
									2、因以下原因导致延误或退回的，不在此服务保障范围内：
								</dt>
								<dd>
									1)&nbsp;&nbsp;&nbsp;&nbsp;部份城市的偏远地区因交通等问题，配送时间可能在预计到达时间基础上延后1-2天。
									<br>
									2)&nbsp;&nbsp;&nbsp;&nbsp;因买家原因（更改收货地址、地址不详、地址错误、联系不上、拒收、无代收人等）导致包裹延误派送或无法送达的；
									<br>
									3)&nbsp;&nbsp;&nbsp;&nbsp;因不可抗力造成延误的（"不可抗力"指不可预见、不可避免或不可克服的客观情况以及其他影响配送时间、造成包裹配送延误的客观情况，包括但不限于全国性或区域性空中或地面交通系统管制或中断（如天气原因等）、或通讯系统干扰或故障、或政府行为、邮政主管部门政策变化、战争、地震、台风、洪水、火灾、大雨、大雾等其他类似事件）
									<br>
									4)&nbsp;&nbsp;&nbsp;&nbsp;航空违禁品、手机、电子类产品、易碎品等因航空安检查验导致无法正常配载航班或改走陆路运输的；
									<br>
									5)&nbsp;&nbsp;&nbsp;&nbsp;寄递物品违反禁、限寄规定或有关运输管理条例，经有关部门没收或依照有关法规、规定处理的；
									<br>
									6)&nbsp;&nbsp;&nbsp;&nbsp;收件人地址为机关、单位等机构，而周六、周日和公众节假日不接收邮件、包裹，造成延误的；
									<br>
									7)&nbsp;&nbsp;&nbsp;&nbsp;收件人学校、单位或住宅小区不允许投递人员入内，或买家代收方原因，导致造成延误的；
								</dd>
							</dl>
							<dl>
								<dt>
									3、买家须知
								</dt>
								<dd>
									1)&nbsp;&nbsp;&nbsp;&nbsp;如收货地址不在顺丰速运派送范围内时，且在商家店铺购买达到399元，商家需使用其它可送达快递为消费者提供免费物流配送服务；
									<br>
									2)&nbsp;&nbsp;&nbsp;&nbsp;寄递物品违反禁、限寄规定或有关运输管理条例，经有关部门没收或依照有关法规、规定处理的，不在补偿范围内；
									<br>
									3)&nbsp;&nbsp;&nbsp;&nbsp;顺丰速运的配送范围以本页公示的范围为准。港澳台及海外地区，大陆地区的部队（含武警）或受部队（含武警）管制的等顺丰不予收送快件的机构不在配送范围内。
								</dd>
							</dl>
						</div>
						<div class="sevice-title" id="pro-confirm">
							<span class="title">签收与验货</span><span class="english-title">Receipt and inspection</span>
						</div>
						<div class="service-content">
							<dl>
								<dt>
									1、开箱验货
								</dt>
								<dd>
									签收时在付款后与配送人员当面核对：商品及配件、应付金额、商品数量及发货清单、发票（如有）、赠品（如有）等；如存在包装破损、商品错误、商品短缺、商品 存在质量问题等影响签收的因素，请您可以拒收全部或部分商品，相关的赠品，配件或捆绑商品应一起当场拒收；为了保护您的权益，建议您尽量不要委托他人代为签收；如由他人代为签收商品而没有在配送人员在场的情况下验货，则视为您所订购商品的包装无任何问题。
								</dd>
							</dl>
							<dl>
								<dt>
									2、签收与验货流程
								</dt>
								<dd>
									<img src="./Public/other/image/img-2.jpg" width="624" height="124">
									<br>
									1）&nbsp;&nbsp;&nbsp;&nbsp;付款及签收完毕后，请在配送人员在场的情况下，参照顾客签收单对商品数量、型号、外观、配件等依次进行核对验收；
									<br>
									2）&nbsp;&nbsp;&nbsp;&nbsp;若发现异常（如商品缺失、损坏、渗漏等），请务必让配送人员在顾客签收单上签字确认，并立即联系商家进行反馈和登记处理。
									<br>
									3）&nbsp;&nbsp;&nbsp;&nbsp;如您在配送人员离开后再提出包裹外包装或封带异常，以及商品的型号、数量或外观等存在异常而要求退换货，此时因无法确认责任，将无法为您做进一步处理，请您谅解。
									<br>
									4）&nbsp;&nbsp;&nbsp;&nbsp;货到付款的商品送达时，请您当面与配送员核对商品与款项，确保货、款两清；若您在配送员离开后发现款项有误，将无法为您核实处理。
									<br>
									5）&nbsp;&nbsp;&nbsp;&nbsp;如配送人员以公司没有规定或着急送货等借口，不配合您进行验货和签字确认，请及时联系ZOL商城客服进行投诉，客服人员将会在第一时间为您处理；一旦出现此情况，为了维护您的权益，建议您先不要拆开包裹。
									<br>
									6）&nbsp;&nbsp;&nbsp;&nbsp;为了保护您的权益，建议您尽量不要委托他人签收；如由他人代为签收商品而没有在配送人员在场的情况下验货，则视为您所订购商品的包装无任何问题。
								</dd>
							</dl>
						</div>
						<div class="sevice-title" id="pro-service">
							<span class="title">售后服务</span><span class="english-title">After-sales Service</span>
						</div>
						<div class="service-content">
							 {{$goodsdata[0]['gdaft']}}
						</div>
					</div>
					<!-- //商品详情切换 -->
					<!-- 参数切换 -->
					<div class="zs-parameter" id="zp-tab-goods-params">
						<table width="100%">
							<tr>
								<th colspan="2">
									基本参数
								</th>
							</tr>
							{{foreach from="$goodsattr" value="$v"}}
								{{if value="$v['taclass']==0"}}
								<tr>
									<td class="zs-parameter-title">
										{{$v['taname']}}
									</td>
									<td class="zs-parameter-infor">
										{{$v['gavalue']}}
									</td>
								</tr>
								{{endif}}
							{{endforeach}}
						</table>
					</div>   		      
				</div>
				<!-- // 右侧导航栏 -->
				<div class="zs-sidebar" style="height:1500px;" id="zsSidebar">
					<div class="zs-quick-menu">
						<ul>
							<li fn="pro-show" rel="pro-show">
								<a href="javascript:void(0)">
									商品介绍
								</a>
							</li>
							<li fn="pro-hour" rel="pro-hour">
								<a href="javascript:void(0)">
									48小时发货
								</a>
							</li>
							<li fn="pro-fapiao" rel="pro-fapiao">
								<a href="javascript:void(0)">
									发票保障
								</a>
							</li>
							<li fn="pro-wuliu" rel="pro-wuliu">
								<a href="javascript:void(0)">
									物流配送
								</a>
							</li>
							<li fn="pro-confirm" rel="pro-confirm">
								<a href="javascript:void(0)">
									签收与验货
								</a>
							</li>
							<li fn="pro-service" rel="pro-service">
								<a href="javascript:void(0)">
									售后服务
								</a>
							</li>
							<li fn="moveTop" rel="zs-service-guarantee">
								<a href="javascript:void(0)">
									<span class="add-plus">
									</span>服务详情
								</a>
							</li>
						</ul>
						<ul style="display:none">
							<li fn="quality" rel="quality" class="cur">
								<a href="javascript:void(0)">
									行货保证
								</a>
							</li>
							<li fn="peifu" rel="peifu">
								<a href="javascript:void(0)">
									先行赔付
								</a>
							</li>
							<li fn="miaosu" rel="miaosu">
								<a href="javascript:void(0)">
									如实描述
								</a>
							</li>
							<li fn="hour-24" rel="hour-24">
								<a href="javascript:void(0)">
									48小时发货
								</a>
							</li>
							<li fn="wuliu" rel="wuliu">
								<a href="javascript:void(0)">
									物流配送
								</a>
							</li>
							<li fn="fapiao" rel="fapiao">
								<a href="javascript:void(0)">
									发票保障
								</a>
							</li>
							<li fn="chengnuo" rel="chengnuo">
								<a href="javascript:void(0)">
									服务承诺
								</a>
							</li>
						</ul>
					</div>
				</div>
				<!-- // 右侧导航栏 -->
			</div>
		</div>
<!-- 公共底部 -->
		<div id="buttonSign">
		</div>  
{{include file="VIEW_PATH/Common/footer.php"}}
<!-- //底部 -->
		<!-- 加入购物车 -->
		<div class="zs-layer-box" id="zs-shop-cart-box" style="display:none;">
			<div class="zs-layer-body">
				<div class="zs-layer-hd">
					<i class="zs-close" onClick="$.closeWindowBox('zs-shop-cart-box')">
					</i>
				</div>
				<div class="zs-layer-content">
					<div class="zs-success">
						<h3>
							商品已成功添加至购物车
						</h3>
						<p>
							购物车共有<em id="zs-cart-number">0</em>件商品，总价<em class="zs-total-price" id="zs-total-price">0</em>元
						</p>
					</div>
				</div>
				<div class="zs-layer-foot">
					<form action="" method="post">
						<input name="buyType" type="hidden" value="2">
						<!--<input name="submit" type="submit" value="去购物车结算" class="zs-settlement-btn">-->
						<a style="color: white;text-align: center;" href="{{U('Cart/index')}}" class="zs-settlement-btn" value="去购物车结算">去购物车结算</a>
						<a href="javascript:void(0)" onClick="$.closeWindowBox('zs-shop-cart-box')">
							继续购物
						</a>
					</form>
				</div>
			</div>
		</div>
		<!-- //加入购物车 -->
		<!-- 收藏 -->
		<div class="zs-layer-box" style="display:none;" id="zp-goods-follow-box">
			<div class="zs-layer-body">
				<div class="zs-layer-hd">
					<i onClick="$.closeWindowBox('follow-store')" class="zs-close">
					</i>
				</div>
				<div class="zs-layer-content" id="zs-flow-box">
					<div class="zs-success">
						<h3>
							商品关注成功
						</h3>
						<p>
							您已关注11个商品，查看
							<a target="_blank" href="#">
								我关注的商品
							</a>
						</p>
					</div>
				</div>
			</div>
		</div>
		<!-- //收藏 -->
		<!-- 已收藏 -->
		<div class="zs-layer-box" style="display:none;">
			<div class="zs-layer-body">
				<div class="zs-layer-hd">
					<i onClick="$.closeWindowBox('follow-store')" class="zs-close">
					</i>
				</div>
				<div class="zs-layer-content">
					<div class="zs-failure">
						<h3>
							您已关注该商品
						</h3>
						<p>
							您已关注11个商品，查看
							<a target="_blank" href="#">
								我关注的商品
							</a>
						</p>
					</div>
				</div>
			</div>
		</div>
		<!-- //已收藏 -->
		<!-- 售空 -->
		<div class="zs-layer-box" style="display:none;">
			<div class="zs-layer-body">
				<div class="zs-layer-hd">
					<i onClick="$.closeWindowBox('follow-store')" class="zs-close">
					</i>
				</div>
				<div class="zs-layer-content">
					<div class="zs-failure">
						<h3>
							非常抱歉，该商品就在刚刚售空了
						</h3>
						<p>
							页面将在<em>2</em>秒后自动刷新
						</p>
					</div>
				</div>
			</div>
		</div>
		<!-- //售空 -->
		<!-- 留言 -->
		<div class="zs-layer-box" style="display:none;" id="zp-goods-message-box">
			<div class="zs-layer-body">
				<div class="zs-layer-hd">
					<i class="zs-close" onClick="$.closeWindowBox('zp-goods-message-box')">
					</i>
				</div>
				<div class="zs-layer-content">
					<div class="zs-success" id="conzp-success">
					</div>
				</div>
			</div>
		</div>
		<!-- //留言 -->

		<!-- 问卷调查 -->
		<a href="#" target="_blank" class="survey-links">
			问卷调查
		</a>
	</body>
	<script>var clearStoreExtra = 0;
$(".shop-rate,.store-extra-info").mouseover(function() {
	clearTimeout(clearStoreExtra);
	$(".store-extra-info").show();
}).mouseout(function() {
	clearTimeout(clearStoreExtra);
	clearStoreExtra = setTimeout(function() {
		$(".store-extra-info").hide();
	}, 200);
});
$(".ask-link").click(function() {
	$("#zp-enter-message").show();
});
$(".close").click(function() {
	$("#zp-enter-message").hide();
});</script>

	<script>$(function($) {
	// 商品购买评价
	$.extend({
		getOrderReview: function(options) {
			var defaults = {
				goodsId: 0,
				page: 1
			};
			var options = $.extend(defaults, options);
			var goodsId = defaults.goodsId;
			var page = defaults.page;
			var score = $("input[name=order-review]:checked").val();
			var url = baseDetailUrl + "index.php?" + Math.random();
			$.getJSON(
				url, {
					goodsId: goodsId,
					page: page,
					score: score
				},
				function(data) {
					var str = '';
					var results = data.reviewInfo;
					var dataNumber = data.reviewNumber;
					if (dataNumber) {
						$("#review_tips").hide();
						str += '<table class="comment-table">';
						str += '<tbody><tr>';
						str += '<th class="th-item1">评价心得</th>';
						str += '<th class="th-item2">购买信息</th>';
						str += '<th class="th-item3">评论者</th></tr>';
						for (var i in results) {
							var newSuitColorName = results[i].suitColorName;
							var newSuitName = results[i].suitName;
							if (typeof(newSuitColorName) == "undefined") {
								newSuitColorName = "默认";
							}
							if (typeof(newSuitName) == "undefined") {
								newSuitName = "默认";
							}
							str += '<tr><td class="td-1"><div class="comment-text">';
							str += '<p>' + results[i].content + '</p>';
							str += '<div class="comment-score">';
							str += '<span>描述符合<em>' + results[i].miaoshu + '</em></span>';
							str += '<span>服务态度<em>' + results[i].taidu + '</em></span>';
							str += '<span>发货速度<em>' + results[i].fuwu + '</em></span>';
							if (results[i].reply) {
								str += '</div><div class="business-reply"><span>商家回复：</span>' + results[i].reply + '</div></div></td>';
							}
							str += '<td class="td-2">';
							str += '<p>颜色：<span>' + newSuitColorName + '</span></p>';
							str += '<p>套装：<span>' + newSuitName + '</span></p></td>';
							str += '<td class="td-3">';
							str += '<p class="name">' + results[i].username + '</p>';
							str += '<p>' + results[i].addTimeNew;
							if (results[i].isAuto == 1) {
								str += ' 自动评价</p>';
							} else {
								str += ' 评价</p>';
							}
							if (results[i].orderType == 2) {
								str += '<p>来自：Z团</p>';
							}
							str += '</td></tr>';
						}
						str += '</tbody></table>';
						var sizeTemp = 10; // 每页数量
						if (data.reviewNumber > sizeTemp) {
							var params = {
								page: page,
								size: sizeTemp,
								totalNumber: data.reviewNumber,
								goodsId: data.goodsId,
								pageFun: 'getOrderReview'
							};
							str += $.zpPaging(params);
						}
					} else {
						$("#review_list").html('');
						str = '<div class="zs-no-comment-prompt">新品上架，暂未有人评价过，<a href="#top">返回顶部</a>看看商品怎么样</div>';
					}
					$("#review_list").html(str);
				}
			);
		}
	});
	
	// 商品交易记录
	$.extend({
		getGoodsOrderRecord: function(options) {
			var defaults = {
				goodsId: 0,
				page: 1,
				type: 1
			};
			var options = $.extend(defaults, options);
			var goodsId = defaults.goodsId;
			var page = defaults.page;
			var type = defaults.type; //1为30天内的订单 0为全部订单
			var url = "index.php?" + Math.random();
			$.getJSON(
				url, {
					goodsId: goodsId,
					page: page,
					merchantId: merchantId,
					dateType: type
				},
				function(data) {
					var dataLen = data.orderInfo.length;
					var dataNumber = data.number;
					var dateNumber = data.dateNumber;
					if (type) {
						var str = '<div class="detail-head"><div class="title"><h4>累计成交记录(' + dataNumber + ')</h4></div><div class="detail-head-filter clearfix"><div class="checks">';
						str += '<label class="cur" for=""><input type="radio" checked>近30天成交记录(' + dateNumber + '件)</label>';
						str += '<label for=""><input type="radio" onclick="$.getGoodsOrderRecord({goodsId:' + goodsId + ', type:0});">累计成交记录(' + dataNumber + '件)</label></div></div></div>';
					} else {
						var str = '<div class="detail-head"><div class="title"><h4>累计成交记录(' + dataNumber + ')</h4></div><div class="detail-head-filter clearfix"><div class="checks">';
						str += '<label for=""><input type="radio" onclick="$.getGoodsOrderRecord({goodsId:' + goodsId + ', type:1});" >近30天成交记录(' + dateNumber + '件)</label>';
						str += '<label class="cur" for=""><input type="radio" checked>累计成交记录(' + dataNumber + '件)</label></div></div></div>';
					}
					//当没有记录时的提示
					if (type) {
						var noData = '<div class="zs-no-comment-prompt">暂无咨询记录，有问题可以在下面留言给商家</div>';
						var factNumber = dateNumber;
					} else {
						var noData = '<div class="zs-no-comment-prompt">暂无咨询记录，有问题可以在下面留言给商家</div>';
						var factNumber = dataNumber;
					}
					//                        str += '<div class="zs-filter">最近30天售出<em>' + dateNumber + '</em>件，累计售出<em>' + dataNumber + '</em>件</div>';
					var results = data.orderInfo;
					str += '<div style="display:block;">';
					if (factNumber == 0 || factNumber == '0') { //如果订单数量为0
						str += noData;
						$("input[name=wordsKey]").eq(0).change();
						$("#zp-tab-goods-message").show();
					} else {
						$("#zp-tab-goods-message").show();
						str += '<table><tbody>';
						str += '<tr>';
						str += '<th class="zs-cell-buyer">买家</th>';
						str += '<th class="zs-cell-sku">款式和型号</th>';
						str += '<th class="zs-cell-price" style="display: none;">价格</th>';
						str += '<th class="zs-cell-amount">数量</th>';
						str += '<th class="zs-cell-time">成交时间</th>';
						str += '</tr>';
						for (var i = 0; i < dataLen; i++) {
							str += '<tr>';
							if (results[i].orderFrom == 10) {
								str += '<td class="zs-cell-buyer"><span title="到店购买订单" class="type">线下</span>' + results[i].username + '</td>';
							} else {
								str += '<td class="zs-cell-buyer">' + results[i].username + '</td>';
							}
							str += '<td class="zs-cell-type"><p>' + results[i].goodsName + '</p>';
							if (results[i].isSuit) {
								str += '<p>' + results[i].suitName + '：' + results[i].suitColorName + '</p></td>';
							} else {
								str += '</td>';
							}
							str += '<td class="zs-cell-price" style="display: none;">&yen;<em>' + results[i].goodsPrice + '</em>';
							if (results[i].isPromo) {
								str += '<span class="zs-cu-ico" alt="促销">促</span></td>';
							} else {
								str += '</td>';
							}
							str += '<td class="zs-cell-amount">' + results[i].goodsNumber + '</td>';
							str += '<td class="zs-cell-time">' + results[i].formatAddTime + '成交 ';
							if (results[i].orderType == 2) {
								str += '来自：Z团';
							}
							str += '</td></tr>';
						}
						str += '</tbody></table>';
						str += '</div>';
						str += '<div class="zs-tfoot clearfix">';
						var sizeTemp = 10; // 多少数据分一页
						if (factNumber > sizeTemp) {
							var params = {
								page: page,
								size: sizeTemp,
								totalNumber: factNumber,
								goodsId: data.goodsId,
								pageFun: 'getGoodsOrderRecord',
								type: type
							};
							var pageStr = $.zpPaging(params); //分页
							str += pageStr + '</div>';
						} else {
							str += '</div>';
						}
					}
					$(".zs-purchase-record").html("");
					$(".zs-purchase-record").html(str);
				});
		}
	});
 
	
	// 关闭窗口
	$.extend({
		closeWindowBox: function(eventId) {
			$("#" + eventId).hide();
			//如果是欢迎光临，则需要记录cookie
			if (eventId == 'zp-welcome-store') {
				openDove();
				var url = baseDetailUrl + "index.php?" + Math.random();
				$.getJSON(url);
			}
		}
	});
	// 获取套装信息
	$.extend({
		/**********************************+-立即购买事件的状态的改变**********************/
		checkStyle: function(checkGoodsNumber) {
//			alert($("#zp-choose-goods-number").val());
				// 最大限购数量
				var maxGoodsNumber = parseInt($("#zp-choose-goods-number").val()); 
				var goodsNumber = 1; // 商品的数量
				var tipsObj = $('#zs-goods-number-tips'); // 报错提示框
				if (isNaN(maxGoodsNumber || maxGoodsNumber <= 0)) {
					goodsNumber = 0; // 商品库存不足
					tipsObj.html('商品库存不足，您可以联系商品到店购买！');
					tipsObj.css('display', 'block');
					$(".zs-increase").addClass("zs-no-increase");
					$(".zs-decrease").addClass("zs-no-decrease");
				} else if (isNaN(checkGoodsNumber)) {
					goodsNumber = 1;
					tipsObj.html('您所填写的数量不正确');
					tipsObj.css('display', 'block');
					$(".zs-decrease").addClass("zs-no-decrease");
					$(".zs-increase").removeClass("zs-no-increase");
					if (maxGoodsNumber == 1) {
						$(".zs-increase").addClass("zs-no-decrease");
					}
				} else if (checkGoodsNumber < 1) {
					goodsNumber = 1;
					tipsObj.html('至少购买一件');
					tipsObj.css('display', 'block');
					$(".zs-increase").addClass("zs-no-increase");
					$(".zs-decrease").removeClass("zs-no-decrease");
					if (maxGoodsNumber == 1) {
						$(".zs-decrease").addClass("zs-no-decrease");
					}
				} else if (checkGoodsNumber == 1) {
					goodsNumber = 1;
					tipsObj.css('display', "none");
					$(".zs-decrease").addClass("zs-no-decrease");
					$(".zs-increase").removeClass("zs-no-increase");
					if (maxGoodsNumber == 1) {
						$(".zs-increase").addClass("zs-no-increase");
					}
				} else if (checkGoodsNumber == maxGoodsNumber) {
					tipsObj.css('display', "none");
					goodsNumber = maxGoodsNumber;
					$(".zs-increase").addClass("zs-no-increase");
					$(".zs-decrease").removeClass("zs-no-decrease");
					if (maxGoodsNumber == 1) {
						$(".zs-decrease").addClass("zs-no-decrease");
					}
				} else if (checkGoodsNumber > maxGoodsNumber) {
					tipsObj.html('您所填写的数量超过库存');
					tipsObj.css('display', 'block');
					goodsNumber = checkGoodsNumber;
					$(".zs-increase").addClass("zs-no-increase");
					$(".zs-decrease").removeClass("zs-no-decrease");
					if (maxGoodsNumber == 1) {
						$(".zs-decrease").addClass("zs-no-decrease");
					}
				} else {
					tipsObj.css('display', "none");
					goodsNumber = checkGoodsNumber;
					$(".zs-decrease").removeClass("zs-no-decrease");
					$(".zs-increase").removeClass("zs-no-increase");
					if (maxGoodsNumber == 1) {
						$(".zs-decrease").addClass("zs-no-decrease");
						$(".zs-increase").addClass("zs-no-increase");
					}
				}
				if (maxGoodsNumber == 1) {
					$("input[fn=zp-goods-number]").attr("readonly", true);
				}
				// 将商品数量写到页面中
				$("input[fn=zp-goods-number]").val(goodsNumber);
			}
			/**********************************+-立即购买事件作**********************/
	});
	$.checkStyle(1); // 每次加载页面的时候自动调用一次
	$.extend({
		getSuitId: function(options) {
			var defaults = {
				goodsId: 0,
				suitColorId: 0,
				suitSetId: 0
			};
			var options = $.extend(defaults, options);
			var goodsId = defaults.goodsId;
			var suitColorId = defaults.suitColorId;
			var suitSetId = defaults.suitSetId;
			//参数获取
			if (goodsId == 0) {
				goodsId = window.goodsId;
			}
			if (suitColorId == 0) {
				suitColorId = $("#zp-choose-suit-color-id").val();
			}
			if (suitSetId == 0) {
				suitSetId = $("#zp-choose-suit-set-id").val();
			}
			//参数不完整时，不获取信息
			if (suitColorId == 0 || suitSetId == 0) {
				return false;
			}
		}
	});
	
	
});</script>
	<script>// ######################右侧在保障商家说明跳转##########################//
$("#jumpContent li").click(function() {
	//切换到Z保障标签
	$("#zp-tabbar >li[rel='zs-service-guarantee']").click();
	var idName = $(this).attr("fn");
	var idTop = $("#" + idName).offset().top - 90;
	$('body,html').animate({
		scrollTop: idTop
	}, 1);
	return false;
});
// ######################右侧在保障商家说明跳转(end)##########################//
// ###################### 商品详情介绍导航和页面位置导航的动态移动  ################################# //
function getScrollTop() {
	var scrollPosTemp = 0;
	if (window.pageYOffset) {
		scrollPosTemp = window.pageYOffset;
	} else if (document.compatMode && (document.compatMode != 'BackCompat')) {
		scrollPosTemp = document.documentElement.scrollTop;
	} else if (document.body) {
		scrollPosTemp = document.body.scrollTop;
	}
	return scrollPosTemp;
}
//获取IE版本
var ieVersion = 0;
if ($.browser.msie) {
	ieVersion = parseInt($.browser.version);
}
// 商品详情介绍导航定位
if (ieVersion != 6) {
	$(window).scroll(function() {
		var startHeight = 0;
		if ($("#moveTop").offset()) {
			var startHeight = $("#moveTop").offset().top;
		}
		var scrollPos = getScrollTop();
		if (scrollPos >= startHeight) {
			// 开始浮动
			var widthLeng = document.documentElement.clientWidth;
			var isXia = 0;
			if (!isXia) {
				$(".zs-buy-btn").show(); // 漏出立即购买按钮
			}
			$("#zsTabbar").css("width", widthLeng + "px");
			$(".zs-main").addClass("zs-suck-top");
		} else {
			// 结束浮动
			$(".zs-main").removeClass("zs-suck-top");
			$("#zsTabbar").css("width", "990px");
			$(".zs-buy-btn").hide(); // 漏出立即购买按钮
		}
	});
}
// ###################### 商品详情介绍导航和页面位置导航的动态移动 (end) ################################# //
//商品详情快速导航
function tabbarGoodsInfo() {
	var lengTop = getScrollTop() + 36 + 10;
	var proShow = $("#pro-show").offset().top;
	var proHour = $("#pro-hour").length ? $("#pro-hour").offset().top : 0;
	var proFaPiao = $("#pro-fapiao").length ? $("#pro-fapiao").offset().top : 0;
	var proWuLiu = $("#pro-wuliu").length ? $("#pro-wuliu").offset().top : 0;
	var proConfirm = $("#pro-confirm").length ? $("#pro-confirm").offset().top : 0;
	var proService = $("#pro-service").length ? $("#pro-service").offset().top : 0;
	var proZprotect = $("#zs-service-guarantee").length ? $("#zs-service-guarantee").offset().top : 0;
	var zsQuickMenuId = "pro-show";
	if ((proShow <= lengTop) && (lengTop < proHour)) {
		zsQuickMenuId = "pro-show";
	};
	if ((proHour <= lengTop) && (lengTop < proFaPiao)) {
		zsQuickMenuId = "pro-hour";
	};
	if ((proFaPiao <= lengTop) && (lengTop < proWuLiu)) {
		zsQuickMenuId = "pro-fapiao";
	};
	if ((proWuLiu <= lengTop) && (lengTop < proConfirm)) {
		zsQuickMenuId = "pro-wuliu";
	};
	if ((proConfirm <= lengTop) && (lengTop < proService)) {
		zsQuickMenuId = "pro-confirm";
	};
	if ((proService <= lengTop)) {
		zsQuickMenuId = "pro-service";
	}
	// 当商品详情的导航显示
	$("#zsSidebar").show();
	$(".zs-quick-menu ul").hide();
	$(".zs-quick-menu ul").eq(0).show();
	$(".zs-quick-menu ul li").removeClass("cur");
	$(".zs-quick-menu ul li[fn='" + zsQuickMenuId + "']").addClass("cur");
}
//Z保障详情描述快速导航
function tabbarZInfo() {
	var lengTop = getScrollTop() + 36 + 10;
	var quality = $("#quality").offset().top;
	var peifu = $("#peifu").offset().top;
	var miaosu = $("#miaosu").offset().top;
	var hour = $("#hour-24").offset().top;
	var wuliu = $("#wuliu").offset().top;
	var fapiao = $("#fapiao").offset().top - 36;
	var chengnuo = $("#chengnuo").offset().top;
	// 当商品详情的导航显示
	var zsQuickMenuId = "quality";
	if (quality <= lengTop && lengTop < peifu) {
		zsQuickMenuId = "quality";
	}
	if (peifu <= lengTop && lengTop < miaosu) {
		zsQuickMenuId = "peifu";
	}
	if ((miaosu <= lengTop) && (lengTop < hour)) {
		zsQuickMenuId = "miaosu";
	};
	if ((hour <= lengTop) && (lengTop < wuliu)) {
		zsQuickMenuId = "hour-24";
	};
	if ((wuliu <= lengTop) && (lengTop < fapiao)) {
		zsQuickMenuId = "wuliu";
	};
	if ((fapiao <= lengTop) && (lengTop < chengnuo)) {
		zsQuickMenuId = "fapiao";
	};
	if ((chengnuo <= lengTop)) {
		zsQuickMenuId = "chengnuo";
	};
	$("#zsSidebar").show();
	$(".zs-quick-menu ul").hide();
	$(".zs-quick-menu ul").eq(1).show();
	$(".zs-quick-menu ul li").removeClass("cur");
	$(".zs-quick-menu ul li[fn='" + zsQuickMenuId + "']").addClass("cur");
}

function changZsSidebarLength() {
	// 获取屏幕的高度
	var st = $(window).scrollTop();
	var buttonSign = 0;
	if ($("#buttonSign").offset()) {
		buttonSign = $("#buttonSign").offset().top;
	}
	if (st <= buttonSign) {
		$("#zsSidebar").css("height", buttonSign - st - 36 + "px");
	} else {
		$("#zsSidebar").css("height", "0px");
	}
}
// 快速浏览导航标识
if (ieVersion != 6) {
	$(window).scroll(function() {
		// 改变提示条的距离
		changZsSidebarLength();
		// 当选择的是商品详情的时候
		if ($("#zp-tabbar .cur").attr("rel") == "zs-tab-goods-content" && getScrollTop()) {
			tabbarGoodsInfo();
		}
		// 当选择的是在保障详情的时候
		if ($("#zp-tabbar .cur").attr("rel") == "zs-service-guarantee" && getScrollTop()) {
			tabbarZInfo();
		}
	});
}
// 定位到对应的位置
if (ieVersion != 6) {
	$(".zs-quick-menu li").click(function() {
		var rel = $(this).attr("rel");
		if ('zs-tab-goods-content' == rel) {
			$("#" + rel).show();
			$("#zp-tab-goods-params").hide(); //隐藏参数
			$("#zs-service-guarantee").hide();
			$(".zs-attributes-list").show();
			$(".zs-goods-content").show();
			$(this).addClass("cur");
			$("[rel='zs-tab-goods-content']").addClass("cur").siblings().removeClass("cur");
		}
		if ("zs-service-guarantee" == rel) {
			$("#zp-tabbar >li[rel='zs-service-guarantee']").click();
		}
		var detailHeight = parseInt($(".zs-container").css('height'));
		var leftHeight = parseInt($("#zs-side-left").css('height'));
		if (detailHeight < leftHeight) {
			$(".zs-sidebar").css('height', leftHeight + 'px');
		} else {
			$(".zs-sidebar").css('height', detailHeight + 'px');
		}
		// 进行移动
		var idName = $(this).attr("fn");
		if ("zs-service-guarantee" == rel) {
			idName = "zs-side-left";
		}
		var idTop = $("#" + idName).offset().top;
		if ("zs-service-guarantee" == rel) {
			idTop = idTop + 50;
		}
		$('body,html').animate({
			scrollTop: (idTop - 40)
		}, 1);
		return false;
	});
}
// #################### 页面位置动态导航(end) ###############//
//商品内容区域，商品详情判断
$(window).load(function() {
	function stopDefault(e) {
		if (e && e.preventDefault)
			e.preventDefault();
		return false;
	}
	stopDefault();
	var goodsContent;
	goodsContent = $('#zs-tab-goods-content').html();
	if (goodsContent == null || !goodsContent.length) { //商品内容为空时
		if (parseInt(isHaveSuitInfo)) { //有套装，同样隐藏参数
			$('#zp-tab-goods-params').hide();
		} else { //没套装隐藏详情标签，并将参数标签设为当前选择
		}
	} else { //内容不为空时，隐藏商品参数
		$('#zp-tab-goods-params').hide();
	}
	deaailHeightChange();
	//右侧空白高度
	function deaailHeightChange() {
		var detailHeight = parseInt($(".zs-container").css('height'));
		var leftHeight = parseInt($("#zs-side-left").css('height'));
		if (detailHeight < leftHeight) {
			$(".zs-sidebar").css('height', leftHeight + 'px');
		} else {
			$(".zs-sidebar").css('height', detailHeight + 'px');
		}
	}
});
$(function() {
	//右侧导航高度
	function deaailHeightChange() {
		var detailHeight = parseInt($(".zs-container").css('height'));
		var leftHeight = parseInt($("#zs-side-left").css('height'));
		if (detailHeight < leftHeight) {
			$(".zs-sidebar").css('height', leftHeight + 'px');
		} else {
			$(".zs-sidebar").css('height', detailHeight + 'px');
		}
	}
	
	//左侧热销-人气商品切换
	$(".zs-rankingtab >li").mouseover(function() {
		var numList = $(this).attr("fn");
		$(this).addClass("current").siblings().removeClass("current");
		$("#sell-hot-goods > ul").eq(numList).show();
		var hideIndex = 1;
		if (numList == 1) {
			hideIndex = 2;
		}
		$("#sell-hot-goods > ul").eq(hideIndex).hide();
	});

	//购买评价好中差评切换
	$("input[name=order-review]").change(function() {
		var score = $(this).val();
		$.getOrderReview({
			goodsId: goodsId,
			page: 1
		});
		deaailHeightChange();
	});
	// 促销倒计时
	 
	// 商品内容区导航切换 商品详情的切换
	$("#zp-tabbar  > li[rel='photoCode']").mouseover(function() {
		$(".phone-purchase").addClass("phone-purchase-hover");
	}).mouseout(function() {
		$(".phone-purchase").removeClass("phone-purchase-hover");
	});
	$("#zp-tabbar  > li").click(function() {
		var rel = $(this).attr("rel");
		if (rel == 'zs-buynow') {
			return;
		}
		// 打开和折叠二维码
		if (rel == "photoCode") {
			return;
		}
		// 商品详情
		if ('zs-tab-goods-content' == rel) {
			$(this).siblings().each(function() {
				$("#" + $(this).attr("rel")).show();
			});
			$("#zs-service-guarantee").hide(); // 隐藏Z保障详情
			$("#zp-tab-goods-params").hide(); // 隐藏参数
			$("#zp-goods-detail").show();
			$(".zs-attributes-list").show();
			$(".zs-goods-content").show();
			$(this).addClass("cur").siblings().removeClass("cur");
			// 快速浏览的导航
			$("#zsSidebar").show();
			$(".zs-quick-menu ul").hide();
			$(".zs-quick-menu ul").eq(0).show();
			$(".zs-quick-menu li").removeClass("cur");
			$(".zs-quick-menu li").eq(0).addClass("cur");
			//  Z+服务详情
		} else if ("zs-service-guarantee" == rel) {
			//隐藏其他栏目
			$(this).siblings().each(function() {
				$("#" + $(this).attr("rel")).hide();
			});
			$("#" + rel).show();
			$("#zp-goods-detail").hide();
			$(this).addClass("cur").siblings().removeClass("cur");
			// 快速浏览的导航
			$("#zsSidebar").show();
			$(".zs-quick-menu ul").hide();
			$(".zs-quick-menu ul").eq(1).show();
			$(".zs-quick-menu li").removeClass("cur");
			$(".zs-quick-menu ul").eq(1).find("li").eq(0).addClass("cur");
			// 参数，购买评价，成交记录
		} else {
			$("#zp-goods-detail").hide();
			$(this).siblings().each(function() {
				$("#" + $(this).attr("rel")).hide();
			});
			$("#" + rel).show();
			$(this).addClass("cur").siblings().removeClass("cur");
			// 快速浏览的导航
			$("#zsSidebar").hide();
		}
		// 留言
		if ("zp-tab-goods-message" == rel) {
			$("input[name=wordsKey]").eq(0).change();
		}
		//  成交记录
		if ("zp-tab-order-record" == rel) {
			$.getGoodsOrderRecord({
				goodsId: goodsId,
				type: 0
			});
		}
		// 进行移动
		var idTop = $("#moveTop").offset().top;
		$('body,html').animate({
			scrollTop: idTop
		}, 1);
		return false;
		// 计算快速浏览的长度
		deaailHeightChange();
	});
	/*****************在商品右侧显示商品评价数量和成交记录的点击事件***START***************************/
	$("#userReview").click(function() {
		$("#zp-tabbar  > li[rel='zp-tab-user-review']").click();
	});
	$("#orderRecord").click(function() {
		$("#zp-tabbar  > li[rel='zp-tab-order-record']").click();
	});
	/*****************在商品右侧显示商品评价数量和成交记录的点击事件***END***************************/
	/******************************************* 添加购物车数量设置********************************************/
	//直接输入商品数量
	var checkGoodsNumber = 1; // 用来判断商品数量是否合法的商品最大购买数量
	$("input[fn=zp-goods-number]").blur(function() {
		checkGoodsNumber = parseInt($(this).val());
		$.checkStyle(checkGoodsNumber); // 调用函数实现状态的改变
	});
	// 点击商品数量增减按钮
	$(".zs-increase, .zs-decrease").click(function() {
		// 如果当前上下选择器为不能选择，则返回假
		if ($(this).hasClass("zs-no-decrease") || $(this).hasClass("zs-no-increase")) {
			return;
		}
		// 获得当前商品数量
		var goodsNumber = $("#zp-goods-number").val();
		goodsNumber = parseInt(goodsNumber);
		// 获取当前选择状态
		var className = $(this).attr("class");
		if ('zs-increase' == className) {
			checkGoodsNumber = goodsNumber + 1;
		} else if ("zs-decrease" == className) {
			checkGoodsNumber = goodsNumber - 1;
		}
		$.checkStyle(checkGoodsNumber);
	});
	
	//右侧空白高度
	setTimeout(function() {
		var detailHeight = parseInt($(".zs-container").css('height'));
		var leftHeight = parseInt($("#zs-side-left").css('height'));
		if (detailHeight < leftHeight) {
			$(".zs-sidebar").css('height', leftHeight + 'px');
		} else {
			$(".zs-sidebar").css('height', detailHeight + 'px');
		}
	}, 5000);
});</script>
	<script>function cookie(name) {
	var cookieArray = document.cookie.split("; "); //得到分割的cookie名值对
	var cookie = new Object();
	for (var i = 0; i < cookieArray.length; i++) {
		var arr = cookieArray[i].split("="); //将名和值分开
		if (arr[0] == name)
			return unescape(arr[1]); //如果是指定的cookie，则返回它的值
	}
	return false;
}

// 市级选择
$('.city > a').live('click', function() {
	var proviceId = $('.province').attr('provinceid');
	var cityId = $(this).attr('cityid');
	var thisObj = $(this);
	if (proviceId && cityId) {
		$('.selecet-tab > li[rel="city"]').find("span").html(thisObj.html());
		var url = "index.php?" + Math.random();
		$.getJSON(url, {
			proviceId: proviceId,
			cityId: cityId,
			merId: merchantId,
			goodsId: goodsId
		}, function(data) {
			if (data.flag) {
				var freightInfo = data.data.freight_info;
				if (freightInfo[1].price && freightInfo[1].price != 0) {
					freightPrice = parseInt(freightInfo[1].price);
				}
			}
			canBuy = data.flag;
			noCanBuy();
		});
		$('.area-selected-wrap').removeClass('area-selected-cur');
		$('.area-name').html(provinceName + thisObj.html());
	}
});
// 关闭
$('.selecet-layer-wrap').find('.close').click(function() {
	$('.area-selected-wrap').removeClass('area-selected-cur');
});
</script>
</html>